# coding: utf8

from testInterface.testMethod import *
from paramList import paramsl
from paramDic import paramsd

token = "IjE5NTkwOGYwZjJhNjEyNDQ1NjRmOWNiYTA2MjY1YWM1Ig.DZP7uA.2QWcgelvCyj9dxol5G2JEY5OWVs"

p = paramsd["edit_article_collection"]
#p = paramsl[0]
t = p["data"]

if ("token" in t):
    t["token"] = token
    
url = p["url"]
data = p["data"]
method = p["method"]

if method == "post":
    postFunction(0,1,url,data)
elif method == "get":
    getFunction(0,1,url,data)
